print("今有物不知其数，三三数之剩二，五五数剩之三，七七数剩之二，问几和?\n")
for number in range(100):
    if number%3==2 and number%5==3 and number%7==2:
        print("答曰：这个数是",number)
        break
